package org.shj.pattern.bridge

abstract class Handset(val soft: Soft) {
  
  def run() = {
    soft.run()
  }
}

class HuaWei(override val soft: Soft ) extends Handset(soft){
  
}

class Iphone(override val soft: Soft) extends Handset(soft){
  
}